package com.mutual.invite.service.impl;

import java.io.Serializable;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mutual.invite.dao.InviteDao;
import com.mutual.invite.pojo.Invite;
import com.mutual.invite.service.InviteService;


@Service
public class InviteServiceImpl implements InviteService {

	@Resource
	private InviteDao inviteInfoDao;
	
	@Override
	public void insert(Invite entity) {
		inviteInfoDao.insertSelective(entity);
	}

	@Override
	public void updateByPrimaryKey(Invite entity) {

	}

	@Override
	public Invite selectByPrimaryKey(Serializable entityid) {
		return null;
	}

	@Override
	public List<Invite> selectInviteList(Invite invite) {
		return inviteInfoDao.selectObjectList(invite);
	}
}
